/**
 * @author caesar
 * @date 2025/7/2
 * @apiNote
 */
//本类调用练习题
public class MethodDefineTestall_1 {
    public static int max(int a, int b) {
        return a > b ? a : b;
    }

    public static int getANumberBetween(int a, int b) {
        return (int) (Math.random() * (b - a) + a);
    }


    public static void main(String[] args) {
        int number1 = getANumberBetween(1, 10);
        System.out.println("number1 = " + number1);
    }
}
